package com.smartmedical.system.domain;

import java.util.Date;

public class UserBindingLogin {
    /**
     * 学生微信登录信息实体类
     */
    private Long id;
    /**
     * 用户ID
     */
    private int userId;
    /**
     * 类型
     */
    private int type;
    /**
     * 开放ID
     */
    private String openId;
    /**
     * 统一ID
     */
    private String unionid;
    /**
     * 创建时间
     */
    private Date createTime;


    @Override
    public String toString() {
        return "UserBindingLogin{" +
                "id=" + id +
                ", userId=" + userId +
                ", type=" + type +
                ", openId='" + openId + '\'' +
                ", unionid='" + unionid + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public UserBindingLogin() {
    }

    public UserBindingLogin(Long id, int userId, int type, String openId, String unionid, Date createTime) {
        this.id = id;
        this.userId = userId;
        this.type = type;
        this.openId = openId;
        this.unionid = unionid;
        this.createTime = createTime;
    }
}
